import Vue from 'vue'
// import VueAwesomeSwiper from 'vue-awesome-swiper'

import { Swiper as SwiperClass, Pagination, Mousewheel, Autoplay } from 'swiper/core'
import getAwesomeSwiper from 'vue-awesome-swiper/dist/exporter'

// class.use必须要引用这些组件，不然只能用最基础的功能，并不能用自带的标识器，和滚动效果
SwiperClass.use([Pagination, Mousewheel, Autoplay])

Vue.use(getAwesomeSwiper(SwiperClass))